home *** CD-ROM | disk | FTP | other *** search
- on InitGlobals
- global theBackgroundVelocity, theShipYVelocity, theFirstBackgroundFrame, theLastBackgroundFrame, theFirstBuildingChannel, theLastBuildingChannel, theFirstShipChannel, theLastShipChannel, theWonLastGame, theLastSpriteXs, theLastSpriteYs, theLastKeyTime, theFirstOtherShipChannel, theLastOtherShipChannel, theOtherShipVelocity, theBuildingCount, theMaxNumBuildings, theFirstDropOffBuilding, theSecondDropOffBuilding, theThirdDropOffBuilding, theFourthDropOffBuilding, theLastDropOffBuilding, theMaxSpeed, theFirstPodChannel, theSecondPodChannel, theThirdPodChannel, theFourthPodChannel, theFirstClockChannel, theLastClockChannel, theSecondsLeft, theGameOver, theFirstButtonPressed, theFirstHeadChannel, theLastHeadChannel
- set theFirstHeadChannel to 31
- set theLastHeadChannel to 34
- set theFirstButtonPressed to 0
- set theGameOver to 0
- set theFirstClockChannel to 28
- set theLastClockChannel to 29
- set theSecondsLeft to 99
- set theFirstPodChannel to 23
- set theSecondPodChannel to 24
- set theThirdPodChannel to 25
- set theFourthPodChannel to 26
- set theFirstPodFrame to 23
- set theLastPodFrame to 24
- set theMaxSpeed to (the stageRight - the stageLeft) / 4
- set theFirstDropOffBuilding to 5
- set theSecondDropOffBuilding to 25
- set theThirdDropOffBuilding to 50
- set theFourthDropOffBuilding to 75
- set theLastDropOffBuilding to 90
- set theBuildingCount to 3
- set theMaxNumBuildings to 50
- set theFirstOtherShipChannel to 17
- set theLastOtherShipChannel to 18
- set theLastKeyTime to the ticks
- set theLastSpriteXs to []
- set theLastSpriteYs to []
- set theShipYVelocity to 7
- set theFirstBackgroundFrame to 2
- set theLastBackgroundFrame to 3
- set theBackgroundVelocity to -4
- set theOtherShipVelocity to 2
- set theFirstBuildingChannel to 4
- set theLastBuildingChannel to 5
- set theFirstShipChannel to 7
- set theLastShipChannel to 7
- repeat with h = theFirstHeadChannel to theLastHeadChannel
- puppetSprite(h, 1)
- set the visible of sprite h to 1
- end repeat
- repeat with h = theFirstBackgroundFrame to theLastBackgroundFrame
- puppetSprite(h, 1)
- end repeat
- repeat with h = theFirstBuildingChannel to theLastBuildingChannel
- puppetSprite(h, 1)
- end repeat
- repeat with h = theFirstOtherShipChannel to theLastOtherShipChannel
- puppetSprite(h, 1)
- end repeat
- ShowShipSprite()
- puppetSprite(theFirstPodChannel, 1)
- puppetSprite(theSecondPodChannel, 1)
- puppetSprite(theThirdPodChannel, 1)
- puppetSprite(theFourthPodChannel, 1)
- repeat with h = theFirstClockChannel to theLastClockChannel
- puppetSprite(h, 1)
- end repeat
- set the keyDownScript to "whichkey"
- end
-